<template>
  <div id="app">
    <HeaderIndex></HeaderIndex>

    <!-- 路由组件出口的地方 -->
    <router-view></router-view>

    <FooterIndex v-show="this.$route.meta.show"></FooterIndex>

  </div>
</template>

<script>
import FooterIndex from '@/components/Footer'
import HeaderIndex from '@/components/Header'



export default {
  name: 'App',
  components: {
    FooterIndex,
    HeaderIndex,
  },
  mounted() {
    this.$store.dispatch('courseList/courseList', {})

  },
}
</script>

<style>

</style>
